﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SQLite;

namespace DockSample
{
    public class TestDAO : BaseDAO
    {
        public void TestConn()
        {
            SQLiteConnection conn = this.GetConnection();
            SQLiteCommand cmd = conn.CreateCommand();
            cmd.CommandText = "select * from HighOrderObjectDiagram";
            SQLiteDataReader rd=cmd.ExecuteReader();
            while (rd.Read())
            {
                Console.WriteLine(rd["id"] + "\t" + rd["name"]+"\t"+rd["isselected"]);
            }
            this.CloseConnection();
            DummyModelForm form = new DummyModelForm();
          
                
        }
        
        
    }
}
